import string
from random import choice


def solve():
    s = "".join([choice(string.ascii_lowercase) for x in range(100)])
    d = {}
    for c in s:
        d[c] = d.get(c, 0) + 1
    for c in string.ascii_lowercase:
        print(d.get(c, 0))


if __name__ == "__main__":
    solve()
